package com.bravo.qa.client;

import com.bravo.common.entity.Result;
import com.bravo.qa.client.impl.LabelClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: Yuyong
 * @create: 2019-08-29 17:41
 **/

@FeignClient(value = "bravo-base",fallback = LabelClientImpl.class)
public interface LabelClient {

    @GetMapping(value = "/label/{id}")
    Result findById(@PathVariable("id") String id);

}
